﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AddressBook.Entity
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class Notices
    {
        private Guid _NoticeID = Guid.NewGuid() ;
        /// <summary>
        /// 
        /// </summary>
        public Guid NoticeID
        {
            get { return _NoticeID; }
            set { _NoticeID = value; }
        }

        private string _Title = string.Empty ;
        /// <summary>
        /// 
        /// </summary>
        public string Title
        {
            get { return _Title; }
            set { _Title = value; }
        }

        private DateTime _PublishTime = DateTime.Parse("1900-01-01") ;
        /// <summary>
        /// 
        /// </summary>
        public DateTime PublishTime
        {
            get { return _PublishTime; }
            set { _PublishTime = value; }
        }

        private string _PublishUserID = string.Empty;
        /// <summary>
        /// 
        /// </summary>
        public string PublishUserID
        {
            get { return _PublishUserID; }
            set { _PublishUserID = value; }
        }

        private string _PublishDeptID = string.Empty ;
        /// <summary>
        /// 
        /// </summary>
        public string PublishDeptID
        {
            get { return _PublishDeptID; }
            set { _PublishDeptID = value; }
        }

        private string _Contents = string.Empty ;
        /// <summary>
        /// 
        /// </summary>
        public string Contents
        {
            get { return _Contents; }
            set { _Contents = value; }
        }

        private DateTime _CreateTime = DateTime.Parse("1900-01-01") ;
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateTime
        {
            get { return _CreateTime; }
            set { _CreateTime = value; }
        }

    }
}